package com.ouc.dataMange.domain;

import com.ouc.common.annotation.Excel;
import com.ouc.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * dataDownload对象 sys_data_download
 *
 * @author yuhao
 * @date 2025-07-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysDataDownload extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 数据库id
   */
  private Integer id;

  /**
   * 用户id
   */
  @Excel(name = "用户id")
  private Integer userId;

  /**
   * 用户姓名
   */
  @Excel(name = "用户姓名")
  private String userName;

  /**
   * 数据上传表中的id（校验用）
   */
  @Excel(name = "数据上传表中的id", readConverterExp = "校=验用")
  private Integer dataUploadId;

  /**
   * 数据存储设备id
   */
  @Excel(name = "数据存储设备id")
  private Integer dataMemoryId;

  /**
   * 数据集id
   */
  @Excel(name = "数据集id")
  private Integer dataSetId;

  /**
   * 数据类型id（子类型）
   */
  @Excel(name = "数据类型id", readConverterExp = "子=类型")
  private Integer dataMangeId;

  private Integer dataFileId;
  /**
   * 数据路径
   */
  @Excel(name = "数据路径")
  private String dataPath;

  /**
   * 数据审核（0未审核，1审核）
   */
  @Excel(name = "数据审核", readConverterExp = "0=未审核，1审核")
  private Integer dataCheck;

  /**
   * 审核人
   */
  @Excel(name = "审核人")
  private Integer dataCheckUser;

  /**
   * 下载次数
   */
  @Excel(name = "下载次数")
  private Integer dataDownloadNum;

}
